import axios from "axios"
axios.defaults.baseURL="http://www.520gongfu.com:9527/api"

export const getProductList = (callback)=>{
  axios.get('/product/list').then((response)=>{
    callback && callback(response.data)
  })
  
}
